package com.coderman.infosys.auth.api.facade.authority;

import com.coderman.infosys.auth.api.dto.authority.DataAuthorityDTO;
import com.coderman.infosys.auth.api.dto.authority.request.UpdateDataAuthorityRequestDTO;
import com.coderman.infosys.auth.api.dto.authority.request.CreateDataAuthorityRequestDTO;
import com.coderman.infosys.plat.auth.common.dto.ResultDataDto;


/**
* @Description:接口
* @Author:
* @CreateTime:2022-01-02 15:27:39
* @version v1.0
*/
@Deprecated
public interface DataAuthorityFacade{

	/**
	 *
	 * @Description 给角色授权数据权限
	 * @param createAuthorityRequestDTO
	 * @return DataAuthorityDTO
	 */
	ResultDataDto<DataAuthorityDTO> saveDataAuthority(CreateDataAuthorityRequestDTO createAuthorityRequestDTO);

	/**
	 *
	 * @Description 修改角色授权数据权限
	 * @param createAuthorityRequestDTO
	 * @return DataAuthorityDTO
	 */
	ResultDataDto<DataAuthorityDTO> updateDataAuthority(UpdateDataAuthorityRequestDTO createAuthorityRequestDTO);
}